<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<%@taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<!DOCTYPE html>
<html>
<head>


<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>宁波分公司通讯录系统</title>



<style type="text/css">
STYLE2{
   font-size: 10px;
   
   }
.STYLE9 {font-size: 16px}
<!--
.STYLE1 {font-size: 14px}
-->
</style>



</head>
<body>
	<iframe width=100% height=300 scrolling="no"
		src="http://10.111.4.5/top.htm" frameborder="no" noresize="NoResize"></iframe>
	<h1 align="center" class="STYLE1">宁波分公司通讯录系统- 服务部地址修改</h1>
<br>
<form id="adressForm">
<table width=54% border="0" align="center" cellspacing = 1 cellpadding = 2 >
   <tr>
	<td width="20%" bgcolor="#507CD1"  ><span class="STYLE2 STYLE9">ID</span></td>
	<td width="80%" id="id" nowrap>
		<%-- ${adress.id } --%>
		<input name="id" value="${adress.id }" type="hidden"/>
	</td>
  </tr>


  <tr>

	<td width="20%" bgcolor="#507CD1"  ><span class="STYLE2 STYLE9">机构名称</span></td>
	
	<td width="80%" nowrap><input name="fenzhi" type="text"   size="60" value="${adress.fenzhi }"></td>
	
  </tr>
	 <tr><td bgcolor="#507CD1" ><span class="STYLE2 STYLE9">地址</span></td>
	
	<td nowrap><input name="adress" type="text" size="60" value="${adress.adress}"></td>
	
	</tr>
	<tr><td bgcolor="#507CD1" ><span class="STYLE2 STYLE9">区号</span></td>
	
	<td nowrap><input name="quhao" type="text" size="60" value="${adress.quhao }"></td>
	
	</tr>
	<tr><td bgcolor="#507CD1" ><span class="STYLE2 STYLE9">总机</span></td>
	
	<td nowrap><input name="zongji" type="text" size="60" value="${adress.zongji  }"></td>
	
	</tr>
	<tr><td  bgcolor="#507CD1" ><span class="STYLE2 STYLE9">传真</span></td>
	
	<td nowrap><input name="chuanzhen" type="text" size="60" value="${adress.chuanzhen }"></td>
	
	</tr>
	<tr><td bgcolor="#507CD1" ><span class="STYLE2 STYLE9">邮编</span></td>
	
	<td nowrap><input name="youbian" type="text" size="60" value="${adress.youbian }"></td>
	
	</tr>
	
    <tr><td colspan="2" ><div align="center">
      <input name="button" type="button" onClick="forwordadress();" value="返回" /> <input name="button" type="button" onClick="saveadress();" value="保存" />
    </div></td>
  </tr>
    
 
  </table>
</form>	
	
	

	<iframe width=100% height=300 scrolling="no"
		src="http://10.111.4.5/bottom.htm" frameborder="no"
		noresize="NoResize"></iframe>
	<!-- jQuery 1.7.2 or higher -->
	


	<script src="<%=request.getContextPath()%>/resources/js/jquery-1.9.0.min.js"></script>
	<script src="<%=request.getContextPath()%>/resources/js/bootstrap.min.js"></script>
	<script type="text/javascript">
	
	function forwordadress(){
		window.location.href="adress_edit"	;
	}
	
	
	
	function saveadress(){
		
		var param=$("#adressForm").serialize();
		$.post("saveAdress",
			param
		,function(data){
			alert(data);
			
		}); 
	}
		
	
	

	</script>
	



</body>

</html>
